/* pt-serif-regular - latin */
@font-face {
	font-family: 'PT Serif';
	font-style: normal;
	font-weight: 400;
	font-display:swap;
	src: local(''),
		 url('https://static.immoserver.ch/fonts/google/pt-serif-v17-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		 url('https://static.immoserver.ch/fonts/google/pt-serif-v17-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* pt-serif-700 - latin */
@font-face {
	font-family: 'PT Serif';
	font-style: normal;
	font-weight: 700;
	font-display:swap;
	src: local(''),
		 url('https://static.immoserver.ch/fonts/google/pt-serif-v17-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
		 url('https://static.immoserver.ch/fonts/google/pt-serif-v17-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-300 - latin */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: local(''),
			 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
			 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-regular - latin */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local(''),
			 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
			 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-700 - latin */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: local(''),
			 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
			 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-900 - latin */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: local(''),
			 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
			 url('https://static.immoserver.ch/fonts/google/roboto-v30-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* dm-serif-display-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'DM Serif Display';
    font-style: normal;
    font-weight: 400;
    src: url('https://static.immoserver.ch/fonts/google/dm-serif-display-v11-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
         url('https://static.immoserver.ch/fonts/google/dm-serif-display-v11-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html,
body
{
	margin: 0px;
	padding: 0px;
	font-family: 'PT Serif', serif;
	font-size: 21px;
}

.hidden{
	display:none;
}

.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
.clearfix {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}

a
{
	color:inherit;
	text-decoration: underline;
}

header
{
	background: #FFFFFF;
	background-size: contain;
	color: #e30613;
	display: block;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 100px;
	-webkit-box-shadow: 1px 1px 10px 0px rgba(50,50,50,.2);
	-moz-box-shadow: 1px 1px 10px 0px rgba(50,50,50,.2);
	box-shadow: 1px 1px 10px 0px rgba(50,50,50,.2);
	text-align: center;
	z-index: 2000;
}

header a.logo
{
	display: inline-block;
	margin: 10px auto;
}

header a.logo img
{
	height: 80px;
}

header .hotline a{

	font-family: 'DM Serif Display', serif;
	font-weight: normal;
	text-decoration: none;
}

header .hotline
{
	display: block;

	position:absolute;
	right: 20px;
	top: 0px;
	
	font-size: 1.8em;
	line-height: 100px;

}

.burger
{
	position:absolute;
	top: 20px;
	left: 20px;
	display: block;
	width: 60px;
	height: 60px;
	background: url('../images/burger.png');
	background-size: contain;
	cursor: pointer;
	transition: all .2s ease-in-out;
}

.burger:hover
{
	transform: scale(1.1); 
}

nav
{
	position: fixed;
	color: #FFFFFF;
	display: block;
	text-align: center;
	top: 0px;
	left: 0px;
	bottom: 0px;
	z-index: 2000;
	font-family: 'DM Serif Display', serif;
	font-weight: normal;
}

.navopen nav
{
	right: 0px;
}

nav .blur
{
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background: rgba(0,0,0,0);
	transition: background .7s;
}

.navopen nav .blur
{
	background: rgba(0,0,0,.5);
}

nav .box
{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 0px;
	bottom: 0px;
	transition: width .7s;
}

.navopen nav .box
{
	width: 640px;
}


nav .box .inner
{
	position: absolute;
	display: flex;
	flex-direction: column;
	 justify-content: center;
	top: 0px;
	right: 0px;
	bottom: 0px;
	width: 640px;
	background: #e30613;
	overflow: auto;
	-webkit-box-shadow: 1px 1px 10px 0px rgba(50,50,50,.4);
	-moz-box-shadow: 1px 1px 10px 0px rgba(50,50,50,.4);
	box-shadow: 1px 1px 10px 0px rgba(50,50,50,.4);
}

nav .burger_close
{
	position:absolute;
	top: 30px;
	right: 30px;
	display: block;
	width: 57px;
	height: 57px;
	background: url('../images/burger_close.png');
	background-size: contain;
	cursor: pointer;
	transition: all .2s ease-in-out;
}

nav .burger_close:hover
{
	transform: scale(1.1); 
}


nav h1
{
	font-size: 3em;
	margin: 0 0 .5em 0;	
	font-weight: normal;
}

nav a
{
	display: block;
	color: #FFFFFF;
	text-decoration: none;
	font-size: 1.8em;
	padding: .3em;

}

nav a.on,
nav a:hover
{
	text-decoration: underline;
}

nav a.button
{
	display: inline-block;
	font-family: 'Roboto', sans-serif;
	letter-spacing: 1px;
	text-decoration: none;
	letter-spacing: normal;	
	border: 3px solid #FFFFFF;
	padding: .5rem 2em; 
	margin-top: 2em;
	max-width: 200px;
	text-transform: uppercase;

}

nav a.button:hover
{
	color: #e30613;
	background: #FFFFFF;
}

main
{
	margin-top: 100px;	
	overflow: auto;
}

main .center
{
	margin: 0 auto;
	max-width: 1200px;
	padding: 0px 20px;
	box-sizing: border-box;
}


main h1
{
	font-family: 'DM Serif Display', serif;
	line-height: 1.2em;
	font-weight: normal;
}

main .typo
{
	margin: 3em 0;
}



.headerimage
{
	position: relative;
}

.headerimage img
{
	width: 100%;
}

.vimeo,
.video {
	position: relative;
	padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
	padding-top: 0px;
	height: 0;
	overflow: hidden;
}

.vimeo iframe,
.video video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}	

.vimeo h1,
.video h1,
.headerimage h1 {
	
	position: absolute;
	top: 10%;
	left: 10%;
	color: #000000;
	font-size: 3em;
	text-shadow: 1px 1px 5px rgba(255,255,255,0.73);
	z-index: 1000;
}	

.video{
	padding-bottom: 40%;
}

.title_text
{
	display: flex;
	justify-content: space-between;
	margin: 3em 0;
}

.title_text h1
{
	width: 46%;
	margin-top: 0px;
}

.title_text .text
{
	width: 46%;
	margin-top: 0px;
	line-height: 1.4em;
}

.image_text
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 3em 0;
}

.image_text .imagemobil
{
	display: none;
}

.image_text .image
{
	width: 48%;
	margin-top: 0px;
}

.image_text .image img,
.image_text .imagemobil img,
.image_text .image video,
.image_text .imagemobil video
{
	width: 100%;
	display: block;
}

.image_text h1
{
	margin-top: 0px;
	
}

.image_text .text
{
	width: 48%;
	margin-top: 0px;
	line-height: 1.4em;
}

.background_text
{
	position: relative;
}

.background_text .image img
{
	width: 100%;
}

.background_text .text
{
	position: absolute;
	top: 10%;
	right: 10%;
}

.background_text .text h1
{
	color: #e30613;
}

.infobox 
{
	margin: 4em 0;
	border-top: 3px solid #e30613;
	border-bottom: 3px solid #e30613;
	text-align: center;
}

.infobox h1
{
	color: #e30613;
}

.infobox .text
{
	margin: 2em;
}

.button,
.filebrowser .upload label
{
	display: inline-block;
	color: #FFFFFF;
	background: #e30613;
	padding: .6em 1.6em;
	font-family: 'Roboto', sans-serif;
	font-weight: 900;
	font-size: .8em;
	border: 1px solid #e30613;
	cursor: pointer;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all .2s;
}

.links
{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: -1em;
	justify-content: center;
}

.links a.button
{
	margin-bottom:1em;
	margin-left:.5em;
	margin-right: .5em;
	margin:0 .5em 1em .5em;
}

.button:hover
{
	background: #FFFFFF;
	color: #e30613;
	border-color: #e30613;
}



.schaedlinge
{
	margin: 3em 0;
}

.schaedlinge .filter
{
	text-align: center;
	font-family: 'Roboto', sans-serif;
	margin-bottom: 2em;
}

.schaedlinge .filter h2
{
	color: #e30613;
}

.schaedlinge .filter a
{
	display: inline-block;
	padding: 10px;
	cursor: pointer;
	text-decoration: none;
	
}

.schaedlinge .filter a.on
{
	color: #e30613;
	text-decoration: underline;
}


.schaedlinge .list a
{
	display: block;
	width: 25%;
	float: left;
	text-align: center;
	padding: 20px;
	box-sizing: border-box;
	border: 3px solid #FFFFFF;
	font-size: .9em;
	text-decoration: none;
	
}


.schaedlinge .list a.off
{
	display: none;
}

.schaedlinge .list a:hover
{
	border-color: #e30613;
}

.schaedlinge .list a img
{
	width: 70%;
}

.schaedlinge .list a h4
{
	margin: 0px;
}

.schaedlinge .list a div
{
	min-height: 78px;
}


.schaedlingedetail img
{
	width: 30%;
	float: left;
	margin: 0 2em 2em 0;
}


.team
{
	display: flex;
	justify-content: space-between;
	margin: 3em 0;
}

.team .list,
.team .detail
{
	width: 48.5%;
	margin-top: 0px;
}

.team .list 
{
	display: flex;
	flex-wrap: wrap;
	
}

.team .list a
{
	
	display: block;
	width: 165px;
	margin: 0px 1.20em 1em 0px;
	text-decoration: none;
	text-align: center;
	font-size: .8em;
	padding: 0px;
	
}

.team .list a:hover,
.team .list a.on
{
	background: #e30613;
	color: #FFFFFF;
}


.team .list a img
{
	width: 100%;
}

.team .list a strong
{
	display: block;
	margin-bottom: .3em;
}

.team .list a small
{
	display: block;
	height: 50px;
	font-size: .8em;
	line-height: 1.2em;
}

.team .detail .ma
{
	display: none;
}

.team .detail .ma.on
{
	display: block;
}

.team .detail img
{
	width: 100%;
}

.team .detail h1
{
	margin-bottom: .2em;
}

.team .detail h3
{
	color: #e30613;
	margin-top: 0px;
}

.infobox .stelle
{
	margin: 2em 0px;
	color: #e30613;
}

.team .detail .ma div
{
	margin: 1em 0;
}

.form
{
	margin: 2em auto;
	max-width: 950px;
	font-family: 'Roboto', sans-serif;
	letter-spacing: 1px;
	font-size: .9em;
}

.form label.block
{
	display: block;
	margin: .5em 0;
	padding: .2em 0;
}


.field,
.filebrowser
{
	display: block;
	width: 100%;
	border: 2px solid #e30613;
	margin: .5em 0;
	padding: .5em;
	font-size: inherit;
	font-family: 'Roboto', sans-serif;
	letter-spacing: 1px;
	box-sizing: border-box;
	float: left;
}

.search
{
	border: 2px solid #e30613;
	margin: .5em 0;
	padding: .5em;
	font-size: inherit;
	font-family: 'Roboto', sans-serif;
	letter-spacing: 1px;
	box-sizing: border-box;
}

.form .left
{
	width: 48%;
	float: left;
}

.form .right
{
	width: 48%;
	float: right;
}

.field.error
{
	margin-bottom: 0px;
}

.mail
{
	text-align: center;
	margin: 2em 0;
}

.error
{
	color: red;
}

.success
{
	color: green;	
}

label.error
{
	font-size: .6em;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #000000;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #000000;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #000000;
}

input[name=Email_Address]{display:none !important;}




.more
{
	text-align: center;
	margin: 5em 0;
}

.more h1
{
	text-align: left;
	margin-top: 0px;
}

.more a
{
	display: block;
	float: left;
	width: 25%;
	padding-top: 13%;
	background-size: 60%;
	background-position: top center;
	background-repeat: no-repeat;
	text-decoration: none;
	font-family: 'Roboto', sans-serif;
	font-weight: 900;
	transition: transform .2s;
}

.more a:hover
{
	text-decoration: underline;
	transform: scale(1.1);
}


ul.docs 
{
	list-style-type: none;
	padding: 0px;
	
	 margin: 3em 0;
}


footer
{
	background: #9d9d9c;
	padding: 40px 3vw;
	color: #FFFFFF;
	font-family: 'Roboto', sans-serif;
	font-weight: 900;
	
}


footer .nav
{
	float: right;
	font-weight: 400;
}


.popup
{
	width: 800px;
	max-width: 100%;
	border-top: 3px solid #e30613;
	border-bottom: 3px solid #e30613;
}
.popup .form{
	max-width: 100%;
}

.popup  h1
{
	color: #e30613;
	text-align: center;
}

.popup  .typo
{
	margin: 2em 0;
	text-align: center;
}

.filebrowser .upload
{
	text-align:center;
}

.filebrowser .row
{
	margin:1em 0;
}

.filebrowser .col
{
	display:flex;
	justify-content:space-between;
	align-items:center;
	background:#ddd;
	margin: .5em 0;
	padding: .5em;
	flex-wrap: wrap;
}

.filebrowser .progress
{
	width:10em;
	height:1.2em;
	position:relative;
	background:#e9ecef;
}

.filebrowser .progress-bar
{
	position:absolute;
	top:0;
	bottom:0;
	background:#28a745;
	text-align:center;
	color:white;
	white-space: nowrap;
	overflow:hidden;
	font-size: smaller;
}

.filebrowser .upload label
{
	background:#888;
	border-color:#888
}

.filebrowser .caption
{
	margin:.25em;
}

.filebrowser .fa-check
{
	color:#28a745;
}

@media (max-width: 1280px)
{
	
	html,
	body
	{
		font-size: 20px;
	}
	
	header
	{
		height: 80px;
	}

	header a.logo img
	{
		height: 60px;
	}

	header .hotline
	{
		font-size: 1.2em;
		line-height: 80px;
	}
	
	.burger
	{
		top: 15px;
		width: 50px;
		height: 50px;
	}

	main
	{
		margin-top: 80px;	
	}
		
	.vimeo h1,
	.video h1,
	.headerimage h1 
	{
		font-size: 2em;
	}	
	
	main h1 
	{
	    font-size: 1.6em;
	}
		
	
	.schaedlinge .list a 
	{
	    width: 33%;
	    font-size: .7em;
	}
		
		
}


@media (max-width: 880px)
{

	main
	{
		margin-top: 100px;	
	}
	

	html,
	body
	{
		font-size: 19px;
	}
	
	header
	{
		background-position: right center;
		height: 100px;
	}
	
	header a.logo
	{
		margin: 10px auto 0px auto;
	}
	
	header a.logo img 
	{
	    height: 60px;
	}
	
	header .hotline
	{
		position: static;
		display: block;
		margin: 0 auto;
		line-height: 20px;
		padding: 0px 20px;
	}

	.navopen nav .box,
	nav .box .inner
	{
		width: 320px;
		width: 320px;
	}
	
	nav .burger_close
	{
		top: 30px;
		right: 30px;
		width: 40px;
		height: 40px;
	}
		
	nav h1 
	{
	    font-size: 2.5em;
	}
	
	nav a 
	{
		font-size: 1.5em;
	}			

	nav a.button
	{
		border: 3px solid #FFFFFF;
		font-size: 1em;
		margin-top: 1.5em;
	}
	
	.team .list
	{
		width: 60%;
	}

	.team .detail
	{
		width: 36%;
	}
	
	.team .list a
	{
		width: 130px;
	}
	
	.team .list a small
	{
		height: 40px;
		font-size: .7em;
	}

}


@media (max-width: 780px)
{
	html,
	body
	{
		font-size: 17px;
	}
	
	.vimeo h1,
	.video h1,
	.headerimage h1,
	main h1,.popup h1
	{
	    font-size: 1.3em;
	}
	
	.popup h2
	{
	    font-size: 1.2em;
	}

	.team,
	.title_text,
	.image_text,.infobox
	{
		display: block;
		margin:2em 0;
	}

	.infobox h1
	{
		margin-top:1.2em;
	}

	.infobox .text
	{
		margin-top: 1.5em;
	}
	
	.popup .typo
	{
		margin:1em 0;
	}

	.team .list,
	.team .detail,
	.title_text h1,
	.title_text .text,
	.image_text .text,
	.image_text .image
	{
		width: 100%;
	}	
	
	.image_text .image
	{
		display: none;
	}
	
	.image_text .imagemobil
	{
		display: block;
		width: 100%;
		margin-bottom: .5em;
	}
	
	.schaedlinge .list a 
	{
	    width: 50%;
	    font-size: .7em;
	    padding: 10px;
	}
		
	.more a
	{
		font-size: .8em;
	}
	
	
	.more 
	{
	    margin: 2em 0;
	}
		
	footer
	{
		padding: 20px 3vw;
		font-size: .8em;
	}
	
	
	footer .nav
	{
		float: none;
		margin: 10px 0px;
	}

}

@media (max-width: 480px)
{
	
	html,
	body
	{
		font-size: 16px;
	}
	
	.fancybox-content
	{
		padding:44px 1em;
	}

	header
	{
		height: 90px;
		text-align: right;
	}

	header a.logo img
	{
		height: 50px;
		margin-right: -3%;
	}

	header a.logo
	{
		margin-right: 20px;
	}
	
	.burger
	{
		top: 15px;
		width: 40px;
		height: 40px;
	}

	main
	{
		margin-top: 90px;	
	}
	
	.vimeo h1,
	.video h1,
	.headerimage h1,
	main h1 
	{
	    font-size: 1.1em;
	}
	
}


@media (max-width: 380px)
{

	
	header a.logo img
	{
		height: 40px;
	}

	.burger
	{
		top: 15px;
		width: 30px;
		height: 30px;
	}
	
}

